package com.macw.ww_system.entity;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.annotation.Resource;

/**
 * <p>
 * 文章
 * </p>
 *
 * @author Macw
 * @since 2020-01-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="CmsArticle对象", description="文章")
public class CmsArticle implements Serializable {

    private static final long serialVersionUID = 1L;

    @Resource
    private String id;

    @ApiModelProperty(value = "作者")
    private String yhid;

    @ApiModelProperty(value = "推荐到哪个专区。比如：头条、精选、最新、热门、评论最多等")
    private String articleRegion;

    @ApiModelProperty(value = "原文作者")
    private String author;

    @ApiModelProperty(value = "发布时间")
    private String publishTime;

    @ApiModelProperty(value = "文章标题")
    private String title;

    @ApiModelProperty(value = "关键词")
    private String keywords;

    @ApiModelProperty(value = "摘要")
    private String description;

    @ApiModelProperty(value = "封面图片")
    private String coverImage;

    @ApiModelProperty(value = "文章模型")
    private String articleModel;

    @ApiModelProperty(value = "转载标志")
    private Integer copyFlag;

    @ApiModelProperty(value = "频道栏目ID")
    private String categoryId;

    @ApiModelProperty(value = "个人分类，多个用逗号分隔")
    private String personalCategory;

    @ApiModelProperty(value = "原始链接")
    private String link;

    @ApiModelProperty(value = "静态化后url")
    private String staticUrl;

    @ApiModelProperty(value = "标签")
    private String tags;

    @ApiModelProperty(value = "点击数")
    private Integer hit;

    @ApiModelProperty(value = "回复数")
    private Integer replyNum;

    @ApiModelProperty(value = "点赞数")
    private Integer upVote;

    @ApiModelProperty(value = "差评数")
    private Integer downVote;

    @ApiModelProperty(value = "热点标志")
    private Integer hotFlag;

    @ApiModelProperty(value = "新增标志")
    private Integer newFlag;

    @ApiModelProperty(value = "是否开启评论")
    private Integer commentFlag;

    @ApiModelProperty(value = "置顶标志")
    private Integer topFlag;

    @ApiModelProperty(value = "收藏数")
    private Integer favourite;

    @ApiModelProperty(value = "趴取任务的ID")
    private String missionId;

    @ApiModelProperty(value = "生成静态页面的模板(cms_template表中的name)")
    private String templateName;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "状态标志")
    private Integer available;

    @ApiModelProperty(value = "删除标志")
    private Integer deleted;

    @ApiModelProperty(value = "附加字段1")
    private String extra1;

    @ApiModelProperty(value = "附加字段2")
    private String extra2;

    @ApiModelProperty(value = "附加字段3")
    private String extra3;


}
